home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / duser110.zip / DROPUSER.DOC next >
Text File  |  1991-03-11  |  4KB  |  85 lines

  1.         ██████                          ██   ██
  2.          ██  ██                         ██   ██
  3.          ██  ██ ██ ████  █████  ██████  ██   ██  █████   █████  ██ ████
  4.          ██  ██  ███ ██ ██   ██ ██   ██ ██   ██ ██      ██   ██  ███ ██
  5.          ██  ██  ██     ██   ██ ██   ██ ██   ██  █████  ███████  ██
  6.          ██  ██  ██     ██   ██ ██████  ██   ██      ██ ██       ██
  7.         ██████   ██      █████  ██       █████   █████   █████   ██
  8.                                 ██
  9.  
  10.                           Copyright Cory Wright 1991
  11.     ----------------------------------------------------------------------
  12.                         VERSION 1.10 - March 11, 1991
  13.     ----------------------------------------------------------------------
  14.  
  15.     PURPOSE
  16.     -------
  17.     DROPUSER is intended for use in  batch files during the log-off process
  18.     of a  bulletin board user. Some  BBS programs such as  GT Power, do not
  19.     log the user off before running its cleanup (or log-off) batch file. In
  20.     the  case of  GT Power  and some  other programs,  the authors have not
  21.     found it necessary to take the  phone off-hook while the board recycles
  22.     or while the BBS performs its event. DROPUSER takes care of all of this
  23.     in one simple step.
  24.  
  25.     PROCEDURE
  26.     ---------
  27.     There  is no  syntax checking  on the  command line  other than for the
  28.     required  two parameters.  You will  pass DROPUSER  two parameters. The
  29.     first is the communications port number. The second is the maximum baud
  30.     rate at which your modem operates.
  31.  
  32.     DROPUSER  opens the  communications  port  and immediately  lowers DTR.
  33.     Since you run a BBS, you should  already have your modem set to hang up
  34.     if DTR is lowered.  On most Hayes modems, an &D3 will accomplish this.
  35.     After  a brief  pause, DROPUSER  raises DTR  and proceeds  to issue  an
  36.     "ATH1M0"  string to  the modem  at the  baud rate  given as  the second
  37.     parameter  on the  command line.  "ATH1M0" is  a standard sequence that
  38.     takes the phone off-hook and silences the modem speaker.
  39.  
  40.     EXAMPLE
  41.     -------
  42.     DROPUSER 1 2400
  43.       - This will drop the user on COM1: and reset the modem at 2400 baud.
  44.         Notice that COM1: is represented as '1', COM2: as '2', etc...
  45.  
  46.     DROPUSER 2 38400
  47.       - This will drop the user on COM2: and reset the modem at 38400 baud.
  48.  
  49.     ENHANCEMENTS
  50.     ------------
  51.     As of v1.10, you may define your com port setup on the command line.
  52.     The syntax is very exact, and even though some syntax checking is in
  53.     place, you can lock up your system unless you know what you are
  54.     doing.
  55.  
  56.     The format is:
  57.  
  58.       DROPUSER Port#/$BASE/IRQ# baud
  59.  
  60.     Example:  DROPUSER 3/$03F8/4 2400
  61.               would set COM3: up on i/o base $03F8 on IRQ 4 at 2400 baud.
  62.  
  63.     COMMENTS
  64.     --------
  65.     You may reach me at the following address:
  66.  
  67.       Cory Wright                                   The Rising Connection
  68.       P. O. Box 53041             or call the BBS:  615-531-8789
  69.       Knoxville, TN  37950-3041                     HAYES ULTRA V.32/9600
  70.  
  71.     If you wish to send comments or suggestions, want a custom compilation,
  72.     have problems with the timing of the modem (ie: it won't take the phone
  73.     off of the hook), feel free to call my BBS or write me.
  74.  
  75.     If you like the program, please  send a $5.00 (or more) contribution to
  76.     your local Ronald McDonald House. If you  do not have an R.M.H. in your
  77.     area, then send your contribution to:
  78.  
  79.      Ernie Roberts, Key Club Sponsor
  80.      Re: The Ronald McDonald House of Knoxville
  81.      8352 Kingston Pike
  82.      Knoxville, TN  37919
  83.  
  84.     Thanks! -- Cory Wright
  85.